An Algebra of Dataaow Networks
نویسنده
چکیده
y Abstract. This paper describes an algebraic framework for the study of dataaow networks, which form a paradigm for concurrent computation in which a collection of concurrently and asynchronously executing processes communicate by sending messages between ports connected via FIFO message channels. A syntactic dataaow calculus is deened, having two kinds of terms which represent networks and computations, respectively. By imposing suitable equivalences on networks and computations , we obtain the free dataaow algebra, in which the dataaow networks with m input ports and n output ports are regarded as the objects of a category S n m , and the computations of such networks are represented by the arrows. Functors deened on S n m label each computation by the input buuer consumed and the output buuer produced during that computation, so that each S n m is a span in Cat. It is shown that the free dataaow algebra construction underlies a monad in the category of collections S = fS n m : m; n 0g of spans in Cat. The algebras of this monad, called dataaow algebras, have a monoid structure representing parallel composition, and are also equipped with an action of a certain collection of continuous functions, thereby representing the formation of feedback loops. The two structures are related by a distributive law of feedback over parallel composition. We also observe the following connection with the theory of brations: if S is a dataaow algebra, then each S n m is a split biibration in Cat.
منابع مشابه
The algebra of stream processing functions
Dataaow networks are a model of concurrent c o m p u-tation. They consist of a collection of concurrent asynchronous processes which communicate by sending data over FIFO c hannels. In this paper we study the algebraic structure of the dataaow networks and base their semantics on stream processing functions. The algebraic theory is provided by the calculus of ownomials which g i v es a uniied p...
متن کاملCompositional Relational Semantics for Indeterminate Dataaow Networks
Given suitable categories T; C and functor F : T ! C, if X; Y are objects of T, then we deene an (X; Y)-relation in C to be a triple (R; r; r), where R is an object of C and r : R ! F X and r : R ! F Y are morphisms of C. We deene an algebra of relations in C, including operations of \relabeling," \sequential composition," \parallel composition," and \feedback," which correspond intuitively to ...
متن کاملA Model for Data ow Query Execution in a ParallelMain - Memory Environment
This paper develops an analytical model for the behavior and the performance of multi-join queries. The model is simple, and it increases the insight in the essentials of dataaow query execution. Multi-join queries are studied using this model. The results of this study connrm the results of a previous simulation study of multi-join queries. The gained understanding of dataaow query execution w...
متن کاملA Calculus of Dataaow Networks
Dataaow networks are a paradigm for concurrent computation in which a collection of concurrently and asynchronously executing processes communicate by sending data values over FIFO communication channels. In this paper, we deene a CCS-style calculus of dataaow networks with a standard structural operational semantics. A version of weak bisimulation equivalence, called \buuer bisimilarity," is d...
متن کاملDataaow Networks Are Fibrations
Dataaow networks are a paradigm for concurrent computation in which a collection of concurrently and asynchronously executing processes communicate by sending messages over FIFO message channels. In a previous paper, we showed that dataaow networks could be represented as certain spans in a category of automata, or more abstractly, in a category of domains, and we identiied some universal prope...
متن کامل